package semantic_matching.common.schema;

import query_understanding.query_language.doc_entity_tree.EntityQueryTree;
import query_understanding.query_language.doc_entity_tree.QueryEdge;
import query_understanding.query_language.doc_entity_tree.QueryNode;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by julianzliu on 5/4/2017.
 */
public class MatchedEntityTree {


    public EntityQueryTree entityTree;
    public MatchedEntites rootEntities;
    /*
    保存每个节点和关系的结果
     */
    public Map<QueryEdge.BaseEdge, MatchedEntites> edgesEntities ;
    public Map<QueryNode.BaseNode, MatchedEntites> nodesEntities ;

    public MatchedEntityTree(){
        this.edgesEntities = new HashMap<>();
        this.nodesEntities = new HashMap<>();
    }


}
